package biz.impl;

import java.util.List;

import dao.MeetingroomorderDao;
import entity.Meetingroomorder;
import biz.MeetingroomorderBiz;

public class MeetingroomorderBizImpl implements MeetingroomorderBiz {
	private MeetingroomorderDao meetingroomorderDao;

	
	public List<Meetingroomorder> findAll() {
		return meetingroomorderDao.findAll();
	}

	public int add(Meetingroomorder meetingroomorder) {
		return meetingroomorderDao.add(meetingroomorder);
	}

	public int delete(Meetingroomorder meetingroomorder) {
		return meetingroomorderDao.delete(meetingroomorder);
	}
	
	public MeetingroomorderDao getMeetingroomorderDao() {
		return meetingroomorderDao;
	}

	public void setMeetingroomorderDao(MeetingroomorderDao meetingroomorderDao) {
		this.meetingroomorderDao = meetingroomorderDao;
	}

	public Meetingroomorder findById(Integer id) {
		return meetingroomorderDao.findById(id);
	}

}
